...\" $Header: /usr/src/docbook-to-man/cmd/RCS/docbook-to-man.sh,v 1.3 1996/06/17 03:36:49 fld Exp $
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "\fBflow-mask\fP" "1"
.SH "NAME"
\fBflow-mask\fP \(em Apply tags to flow files\&.
.SH "SYNOPSIS"
.PP
\fBflow-mask\fP [-hk]  [-b\fI big\fP|\fIlittle\fP]  [-C\fI comment\fP]  [-d\fI debug_level\fP]  [-m\fI mask_fname\fP]  [-M\fI active_def\fP \&...] 
.SH "DESCRIPTION"
.PP
The \fBflow-mask\fP utility is used to modify the
source and destination mask length\&'s in flow records\&.
.SH "OPTIONS"
.IP "-b\fI big\fP|\fIlittle\fP" 10
Byte order of output\&.
.IP "-C\fI Comment\fP" 10
Add a comment\&.
.IP "-d\fI debug_level\fP" 10
Enable debugging\&.
.IP "-h" 10
Display help\&.
.IP "-k" 10
Keep time from input\&.
.IP "-m\fI mask_fname\fP" 10
Load masks from \fBmask_name\fP\&.  Defaults to 
\fB/ENAQS/var/cfg/mask\fP
.IP "-M\fI mask_def\fP" 10
Use \fIactive_def\fP as the active tag definition(s)\&.
.PP
.PP
The configuration file is a collection of definitions\&.  A definition
lists a sequence of prefixes and the mask length to replace the matching
prefix with\&.
Lines begining with # are treated as comments and ignored\&.
.PP
.PP
.nf
mask-definition command             Description
----------------------------------------------------------------------
mask-definition                     Begin mask-definition section
                                    mask-definition foo

prefix                              List the prefix to match on and the
                                    replacement mask\&.
                                    prefix 128\&.146/16 24
.fi
.SH "EXAMPLES"
.PP
.nf
\f(CW#
#file: masks
#
mask-definition foo
# All networks in 128\&.146/16 are /24\&'s\&.
 prefix 128\&.146/16 24
# except for 128\&.146\&.214/24, which are /32\&'s\&.
 prefix 128\&.146\&.214/24 32\fR
.fi
.PP
.PP
\fBflow-cat \fBflows\fP | flow-mask -mfoo -Fmasks | flow-print -f4\fP
.SH "BUGS"
.PP
None known\&.
.SH "AUTHOR"
.PP
Mark Fullmer maf@splintered\&.net
.SH "SEE ALSO"
.PP
\fBflow-tools\fP(1)
...\" created by instant / docbook-to-man, Wed 02 Apr 2003, 12:53
